<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Audio</title>
</head>

<body>
  <!-- 例子来源：https://www.zhihu.com/question/397498569/answer/1249266558 -->
  <audio id="audio_btnDown" src="/asset/audio/ButtonDown.wav"></audio>
  <button onclick="goPlay()">播放</button>
  <script>
    function goPlay() {
      var audio_btnDown = document.querySelector('#audio_btnDown')
      audio_btnDown.play();
    }
  </script>
</body>

</html>